//
//  JMTools.h
//  JMDome_1
//
//  Created by ios on 15/6/11.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>
#import <MBProgressHUD.h>




@interface JMTools : NSObject
/**
 * 上传图片
 **/
+ (void)postImageRequestAFNetWorkingDict:(NSDictionary *)dict imageArray:(NSArray *)imageArray type:(NSString *)type block:(void(^)(id data,NSError *error))block;
/**
 * 判断是不是手机号
 **/
+ (BOOL) isiPhoneNumber:(NSString *)iphone;
/**
 * 判断是不是身份证号
 **/
+ (BOOL) isIDCardNumber:(NSString *)cardNumber;
/**
 * 设备信息
 **/
+ (NSString*)deviceString;
/**
 *  密码格式
 **/
+ (BOOL)isRightpwd:(NSString *)pwd;
/**
 *  判断是不是网址
 **/
+ (BOOL) isRightWebsite:(NSString *)url;
/**
 *  判断是不是邮箱
 **/
+ (BOOL)isValidateEmail:(NSString *)Email;


///显示提示框
+(void)showAlertView:(UIView *)aView message:(NSString *)msg;
+(void)showAlertView:(UIView *)aView;
+(void)hiddenAlerView:(UIView *)aView;

@end
